package
{
	import flash.display.Sprite;
	import flash.display.StageScaleMode;
	import flash.geom.Rectangle;
	
	import flashx.textLayout.formats.BackgroundColor;
	
	[SWF(width="750", height="660", backgroundColor="0x000000")]
	public class DestinyDice extends Sprite
	{
		protected var game:CGame;
		
		public function DestinyDice()
		{
			game = new CGame(Define.SCREEN_WIDTH, Define.SCREEN_HEIGHT, this);
			Game.GetMyGraphics().SetTextSize(14);
			Game.GetMyGraphics().SetFontEmbed(MyFont.fontComic);
			
			var state:State = CGame.CreateState(1);
			
			if(state)
			{
				Game.GetStateStack().Push(state);	
			}
		}
	}
}